package cn.zhengzhou.springbootmybatis.demo;

public class DrawThread extends Thread{
    private AccountC2 account;
    public DrawThread(String name,AccountC2 acc) {
        super(name);
        this.account = acc;

    }

    @Override
    public void run() {
        account.drawMoney(100000);
    }
}